<?php

class Application_Model_Hafen
{
	protected $_id;
	protected $_created;
	protected $_status;
	protected $_name;
	protected $_lastupdater;
	protected $_lastupdated;
	protected $_tiefe;
	protected $_ankerplaetze;
	protected $_revier;
	protected $_land;
	protected $_stadt;
	protected $_adresse;
	protected $_typ;
	protected $_tankstelle;
	protected $_parken;
	protected $_wasser;
	protected $_strom;
	protected $_toilette;
	protected $_dusche;
	protected $_reperatur;
	protected $_kran;
	protected $_slipping;
	protected $_supermarkt;
	protected $_waescherei;
	protected $_travelLift;
	protected $_wlan;
	protected $_weblink;
	protected $_lat;
	protected $_lng;
// 	protected $_premium;

		/**
	 * @return the $_status
	 */
	public function getStatus() {
		return $this->_status;
	}

	/**
	 * @param field_type $_status
	 */
	public function setStatus($_status) {
		$this->_status = $_status;
	}

		//protected $_profilbild;

	 	public function __construct (array $options = null)
	 	{
	 		if (is_array($options))
	 		{
	 			$this->setOptions($options);
	 		}
	 	}
	 	public function setOptions (array $options)
	 	{
	 		$methods = get_class_methods($this);
	 		foreach ($options as $key => $value)
	 		{
	 			$method = 'set' . ucfirst($key);
	 			if (in_array($method, $methods))
	 			{
	 				$this->$method($value);
	 			}
	 		}
	 		return $this;
	 	}
	 	
	 	public function __set ($name, $value)
	 	{
	 		$method = 'set' . ucfirst($name);
	 		if (('mapper' == $name) || ! method_exists($this, $method))
	 		{
	 			throw new Exception('Invalid hafen property');
	 		}
	 		$this->$method($value);
	 	}
	 	
	 	public function __get ($name)
	 	{
	 		$method = 'get' . ucfirst($name);
	 		if (('mapper' == $name) || ! method_exists($this, $method))
	 		{
	 			throw new Exception('Invalid hafen property');
	 		}
	 		return $this->$method();
	 	}
	 	
	/**
	 * @return the $_id
	 */
	public function getId() {
		return $this->_id;
	}

		/**
	 * @return the $_created
	 */
	public function getCreated() {
		return $this->_created;
	}

		/**
	 * @return the $_tiefe
	 */
	public function getTiefe() {
		return $this->_tiefe;
	}

		/**
	 * @return the $_ankerplaetze
	 */
	public function getAnkerplaetze() {
		return $this->_ankerplaetze;
	}

		/**
	 * @return the $_revier
	 */
	public function getRevier() {
		return $this->_revier;
	}

		/**
	 * @return the $_land
	 */
	public function getLand() {
		return $this->_land;
	}

		/**
	 * @return the $_stadt
	 */
	public function getStadt() {
		return $this->_stadt;
	}

		/**
	 * @return the $_typ
	 */
	public function getTyp() {
		return $this->_typ;
	}

		/**
	 * @return the $_tankstelle
	 */
	public function getTankstelle() {
		return $this->_tankstelle;
	}

		/**
	 * @return the $_parken
	 */
	public function getParken() {
		return $this->_parken;
	}

		/**
	 * @return the $_wasser
	 */
	public function getWasser() {
		return $this->_wasser;
	}

		/**
	 * @return the $_strom
	 */
	public function getStrom() {
		return $this->_strom;
	}

		/**
	 * @return the $_toilette
	 */
	public function getToilette() {
		return $this->_toilette;
	}

		/**
	 * @return the $_dusche
	 */
	public function getDusche() {
		return $this->_dusche;
	}

		/**
	 * @return the $_reperatur
	 */
	public function getReperatur() {
		return $this->_reperatur;
	}

		/**
	 * @return the $_kran
	 */
	public function getKran() {
		return $this->_kran;
	}

		/**
	 * @return the $_slipping
	 */
	public function getSlipping() {
		return $this->_slipping;
	}

		/**
	 * @return the $_supermarkt
	 */
	public function getSupermarkt() {
		return $this->_supermarkt;
	}

		/**
	 * @return the $_waescherei
	 */
	public function getWaescherei() {
		return $this->_waescherei;
	}

		/**
	 * @return the $_travelLift
	 */
	public function getTravelLift() {
		return $this->_travelLift;
	}

		/**
	 * @return the $_wlan
	 */
	public function getWlan() {
		return $this->_wlan;
	}

		/**
	 * @return the $_weblink
	 */
	public function getWeblink() {
		return $this->_weblink;
	}

		/**
	 * @return the $_premium
	 */
// 	public function getPremium() {
// 		return $this->_premium;
// 	}

		/**
	 * @return the $_profilbild
	 */
	public function getProfilbild() {
		return $this->_profilbild;
	}

		/**
	 * @param field_type $_id
	 */
	public function setId($_id) {
		$this->_id = $_id;
	}

		/**
	 * @param field_type $_created
	 */
	public function setCreated($_created) {
		$this->_created = $_created;
	}

		/**
	 * @param field_type $_tiefe
	 */
	public function setTiefe($_tiefe) {
		$this->_tiefe = $_tiefe;
	}

		/**
	 * @param field_type $_ankerplaetze
	 */
	public function setAnkerplaetze($_ankerplaetze) {
		$this->_ankerplaetze = $_ankerplaetze;
	}

		/**
	 * @param field_type $_revier
	 */
	public function setRevier($_revier) {
		$this->_revier = $_revier;
	}

		/**
	 * @param field_type $_land
	 */
	public function setLand($_land) {
		$this->_land = $_land;
	}

		/**
	 * @param field_type $_stadt
	 */
	public function setStadt($_stadt) {
		$this->_stadt = $_stadt;
	}

		/**
	 * @param field_type $_typ
	 */
	public function setTyp($_typ) {
		$this->_typ = $_typ;
	}

		/**
	 * @param field_type $_tankstelle
	 */
	public function setTankstelle($_tankstelle) {
		$this->_tankstelle = $_tankstelle;
	}

		/**
	 * @param field_type $_parken
	 */
	public function setParken($_parken) {
		$this->_parken = $_parken;
	}

		/**
	 * @param field_type $_wasser
	 */
	public function setWasser($_wasser) {
		$this->_wasser = $_wasser;
	}

		/**
	 * @param field_type $_strom
	 */
	public function setStrom($_strom) {
		$this->_strom = $_strom;
	}

		/**
	 * @param field_type $_toilette
	 */
	public function setToilette($_toilette) {
		$this->_toilette = $_toilette;
	}

		/**
	 * @param field_type $_dusche
	 */
	public function setDusche($_dusche) {
		$this->_dusche = $_dusche;
	}

		/**
	 * @param field_type $_reperatur
	 */
	public function setReperatur($_reperatur) {
		$this->_reperatur = $_reperatur;
	}

		/**
	 * @param field_type $_kran
	 */
	public function setKran($_kran) {
		$this->_kran = $_kran;
	}

		/**
	 * @param field_type $_slipping
	 */
	public function setSlipping($_slipping) {
		$this->_slipping = $_slipping;
	}

		/**
	 * @param field_type $_supermarkt
	 */
	public function setSupermarkt($_supermarkt) {
		$this->_supermarkt = $_supermarkt;
	}

		/**
	 * @param field_type $_waescherei
	 */
	public function setWaescherei($_waescherei) {
		$this->_waescherei = $_waescherei;
	}

		/**
	 * @param field_type $_travelLift
	 */
	public function setTravelLift($_travelLift) {
		$this->_travelLift = $_travelLift;
	}

		/**
	 * @param field_type $_wlan
	 */
	public function setWlan($_wlan) {
		$this->_wlan = $_wlan;
	}

		/**
	 * @param field_type $_weblink
	 */
	public function setWeblink($_weblink) {
		$this->_weblink = $_weblink;
	}

		/**
	 * @param field_type $_premium
	 */
// 	public function setPremium($_premium) {
// 		$this->_premium = $_premium;
// 	}

		/**
	 * @param field_type $_profilbild
	 */
	public function setProfilbild($_profilbild) {
		$this->_profilbild = $_profilbild;
	}
	/**
	 * @return the $_lastupdater
	 */
	public function getLastupdater() {
		return $this->_lastupdater;
	}
	
	/**
	 * @return the $_lastupdated
	 */
	public function getLastupdated() {
		return $this->_lastupdated;
	}
	
	/**
	 * @param field_type $_lastupdater
	 */
	public function setLastupdater($_lastupdater) {
		$this->_lastupdater = $_lastupdater;
	}
	
	/**
	 * @param field_type $_lastupdated
	 */
	public function setLastupdated($_lastupdated) {
		$this->_lastupdated = $_lastupdated;
	}
	
	/**
	 * @return the $_lat
	 */
	public function getLat() {
		return $this->_lat;
	}
	
	/**
	 * @return the $_lng
	 */
	public function getLng() {
		return $this->_lng;
	}
	
	/**
	 * @param field_type $_lat
	 */
	public function setLat($_lat) {
		$this->_lat = $_lat;
	}
	
	/**
	 * @param field_type $_lng
	 */
	public function setLng($_lng) {
		$this->_lng = $_lng;
	}
	/**
	 * @return the $_name
	 */
	public function getName() {
		return $this->_name;
	}
	
	/**
	 * @param field_type $_name
	 */
	public function setName($_name) {
		$this->_name = $_name;
	}
	/**
	 * @return the $_adresse
	 */
	public function getAdresse() {
		return $this->_adresse;
	}

	/**
	 * @param field_type $_adresse
	 */
	public function setAdresse($_adresse) {
		$this->_adresse = $_adresse;
	}

	
}